#ifndef unigame_Win32Device_h
#define unigame_Win32Device_h

#include "../Device.h"
#include <windows.h>

namespace unigame
{
	class Win32Device: public Device
	{
	public:
		Win32Device();
		~Win32Device();

		void startDisplay();

		void setParam(int paramID, void* param);
		
		void isFullScreen(bool isFull);

	private:
		void registerClass();
		void createWindow();
		void createHDC();

	private:
		HDC m_hdc;
		HWND m_hwnd;
		HINSTANCE m_hinstance;
		bool m_hasDisplay;
	};
}

#endif